home *** CD-ROM | disk | FTP | other *** search
- Installing the RMI package on a Solaris system
- ==============================================
-
- *******************************************************************
- *** ***
- *** Remember: to run this release, you need to have JDK 1.0.2. ***
- *** Earlier releases will fail. ***
- *** ***
- *******************************************************************
-
- When you install the RMI package, you will have to choose a place for
- it to live on your system. If you have the necessary permissions, you
- can install it as an overlay on top of your existing JDK installation.
-
- The RMI release add files and directories to the JDK and replaces a few
- existing JDK files in order for prebeta RMI to be as compatible as
- possible with JDK1.1 RMI. Here is a list of those files:
-
- java.io.File
- java.net.InetAddress
- java.util.Hashtable
- java.util.Date
- sun.net.www.protocol.file.Handler
-
- However, it will be easier to completely remove and replace RMI with
- upgraded versions if you install this release in another place. The
- following directions assume that you will place it in an "rmi"
- directory in your home directory. If you choose to install it as an
- overlay on top of the JDK, you can modify the directions accordingly.
- Instructions that can be skipped in an overlay installation are marked.
-
- (1) Get the compressed tar file from the ftp site
-
- (2) Extract the contents of the tar file into a directory
-
- Example:
- % mkdir $HOME/rmi
- % zcat rmi-prebeta1-solaris-sparc.tar.Z | (cd $HOME/rmi ; tar xvf -)
-
- (3) Add the necessary zip files to your CLASSPATH and LD_LIBRARY_PATH
- environment variables (LD_LIBRARY_PATH can be skipped in overlay)
-
- Example: (csh)
- % setenv CLASSPATH $HOME/rmi/lib/rmi.zip:$CLASSPATH
- % setenv LD_LIBRARY_PATH $HOME/rmi/lib/sparc:$LD_LIBRARY_PATH
-
- Example: (ksh)
- % export CLASSPATH=$HOME/rmi/lib/rmi.zip:$CLASSPATH
- % export LD_LIBRARY_PATH=$HOME/rmi/lib/sparc:$LD_LIBRARY_PATH
-
- (If you don't already have CLASSPATH (or LD_LIBRARY_PATH) set in
- your environment, omit the :$CLASSPATH (or :$LD_LIBRARY_PATH) from
- the lines above.)
-
- (4) Set the RMIHOME environment variable (can be skipped in overlay)
-
- Example: (csh)
- % setenv RMIHOME $HOME/rmi
-
- Example: (ksh)
- % export RMIHOME=$HOME/rmi
-
- (5) Set your path to include the bin directory so you can run the
- stub/skeleton generation utility rmic (can be skipped in overlay)
-
- Example: (csh)
- % set path = ($path $HOME/rmi/bin)
-
- Example: (ksh)
- % PATH=$PATH:$HOME/rmi/bin
-
- To get started, try running our examples. For instructions see:
-
- rmi/examples/hello/README.txt
- rmi/examples/stock/README.txt
-
-
- Applets in a Browser
- --------------------
-
- The only browser that can run RMI applets with this release is the
- HotJava browser that is available from our site. When you install
- HotJava, you must be sure that your binary search path ($PATH for sh
- and ksh, $path for csh) has the bin directory for the JDK *before* the
- bin directory for HotJava, or the RMI utilities will fail.
-
- Support
- -------
-
- Users of both RMI and object serialization can discuss issues and tips
- with other users via the mailing list rmi-users@java.sun.com. You can
- subscribe by sending an email message containing the line
-
- subscribe rmi-users
-
- to listserv@java.sun.com, and unsubscribe by sending a message
- containing the line
-
- unsubscribe rmi-users
-
- Support questions can be sent to rmi-support@java.sun.com.
-